<!-- 水科-给排水系统-排水系统 -->
<template>
  <div style="width: 100%; height: 100%; background: white">
    <iframe :src="url" width="100%" height="100%" frameborder="0" />
  </div>
</template>
<script setup lang="ts">
defineOptions({
  name: ""
});
import { onMounted, ref } from "vue";
// import { queryDictData } from "@/api/common";
// const { VITE_PID_AND_TOPO_URL } = import.meta.env;
const url = ref<string>("");
onMounted(async () => {
  // const allTopos = await queryDictData({ typeCode: "PID_AND_TOPO" });
  // const topo = allTopos.filter(item => item.value === "water_check_pid");
  // if (topo && topo.length > 0) {
  //   url.value = `${VITE_PID_AND_TOPO_URL}` + topo[0].name;
  // }
});
</script>
